package com.hainatong.shiphelper.login.entity;
import com.hainatong.mvvmbase.base.BaseBean;

/**
 * 通过login接口返回来的bean
 */
public class UserBean extends BaseBean
{

    /**
     * userName : admin
     * name : 超级管理员
     * gender : 0
     * avatar : null
     * phone : null
     * email : null
     * role : {"roleName":"超级管理员","roleNameEn":"superadmin","companyId":0,"creationTime":"2020-08-21 10:02:06","lastModificationTime":null,"id":1}
     */

    private int userId;
    private String userName;
    private int companyId;
    private String name;
    private String gender;
    private String avatar;
    private String phone;
    private String email;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getCompanyId() {
        return companyId;
    }

    public void setCompanyId(int companyId) {
        this.companyId = companyId;
    }
}
